package com.cdu.guoxinan.www.smartcom.service;

import com.cdu.guoxinan.www.smartcom.domian.dto.ParkingSpotQueryDTO;
import com.cdu.guoxinan.www.smartcom.domian.pojo.ParkingSpot;
import com.cdu.guoxinan.www.smartcom.domian.vo.ParkingSpotVO;
import com.github.pagehelper.PageInfo;

public interface ParkingSpotService {
    PageInfo<ParkingSpotVO> queryPage(ParkingSpotQueryDTO parkingSpotQueryDTO);
    boolean add(ParkingSpot parkingSpot);
    boolean update(ParkingSpot parkingSpot);
    boolean delete(Long id);
    boolean release(ParkingSpot parkingSpot);
}
